// import { install } from "element-ui";
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import LangSelect from './lang'
import ThemePicker from './ThemePicker'
import TagsView from './TagsView'
//全局自定义组件注册
export default {
    install(Vue) {
        // 参数vue是vue实例
        Vue.component('PageTools', PageTools)//工具栏组件
        Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
        Vue.component('ImageUpload', ImageUpload)// 注册导入上传组件
        Vue.component('ScreenFull', ScreenFull) // 注册全屏组件
        Vue.component('ThemePicker', ThemePicker)
        Vue.component('LangSelect',LangSelect)
        Vue.component('TagsView', TagsView)
        Vue.use(Print)
    }
}
// 1.导入注册组件
// 2.vue.component(组件名，组件实例)